org.globalplatform.contactless
Interface CLApplet

All Superinterfaces:
javacard.framework.Shareable

public interface CLApplet
extends javacard.framework.Shareable

An applet may implement this interface so that it can be notified by the OPEN of changes occurring to its associated registry entry (parameters and/or life cycle).

The applet will not receive notification of events generated by itself.

Such an applet shall expose the CLApplet interface object(s) through Applet.getShareableInterfaceObject(javacard.framework.AID, byte) only if the client AID is null, and the parameter is set to GPCLSystem.GPCL_CL_APPLICATION.


Method Summary
 void notifyCLEvent(short event)
          Applet receives notification on event affecting its registry entry.
 

Method Detail

notifyCLEvent

void notifyCLEvent(short event)
Applet receives notification on event affecting its registry entry.

If the Applet implementing the CLApplet returns from the notification and initiated transaction in progress, then the OPEN automatically aborts the transaction.

Parameters:
event - (CLAppletEvent) affecting the target application